package com.bot.adms.model.vo;

import com.bot.adms.model.entity.ApplyInfo;

import java.util.Date;
import java.util.List;

/**
 * 投放申请信息视图模型
 */
public class ApplyInfoVo {
    /**
     * 投放申请 id
     */
    private Long id;
    /**
     * 项目
     */
    private String project;
    /**
     * 联系人名称
     */
    private String linkManName;
    /**
     * 状态：0.已通过 1.已驳回 2.待审核 3.草稿
     */
    private Integer status;
    private String statusStr;
    /**
     * 联系电话
     */
    private String tel;

    /**
     * 开始投放时间
     */
    private Date startTime;
    /**
     * 结束投放时间
     */
    private Date endTime;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最后修改时间
     */
    private Date updateTime;
    /**
     * 提交时间
     */
    private Date submitTime;
    /**
     * 一条投放申请对应一条申请内容
     */
    private ApplyContentVo applyContentVo;
    /**
     * 一条投放申请对应多条审核记录
     */
    private List<CheckRecordInfoVo> checkRecordInfoVoList;
    public ApplyInfoVo(ApplyInfo applyInfo) {
        this.id = applyInfo.getId();
        this.project = applyInfo.getProject();
        this.linkManName = applyInfo.getLinkManName();
        this.status = applyInfo.getStatus();
        this.tel = applyInfo.getTel();
        this.startTime = applyInfo.getStartTime();
        this.endTime = applyInfo.getEndTime();
        this.createTime = applyInfo.getCreateTime();
        this.updateTime = applyInfo.getUpdateTime();
        this.submitTime = applyInfo.getSubmitTime();
    }

    public ApplyInfoVo() {
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getLinkManName() {
        return linkManName;
    }

    public void setLinkManName(String linkManName) {
        this.linkManName = linkManName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public ApplyContentVo getApplyContentVo() {
        return applyContentVo;
    }

    public void setApplyContentVo(ApplyContentVo applyContentVo) {
        this.applyContentVo = applyContentVo;
    }

    public List<CheckRecordInfoVo> getCheckRecordInfoVoList() {
        return checkRecordInfoVoList;
    }

    public void setCheckRecordInfoVoList(List<CheckRecordInfoVo> checkRecordInfoVoList) {
        this.checkRecordInfoVoList = checkRecordInfoVoList;
    }
}
